package com.gimi.cloud.jimi.common.utils;

public class ServerThread extends Thread{

	protected boolean isExit = false;

	public void stopThread(){
		isExit = true;
		Thread t = Thread.currentThread();
		t.interrupt();
        try {
            t.join(1000);
        } catch (InterruptedException e) {
            // Ignored
        }
	}
}
